package com.xiegang.serviceMap.controller;

import com.xiegang.internalcommon.dto.ResponseResult;
import com.xiegang.serviceMap.service.DicDistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xieGang
 * @description
 * @date 2023/3/18 13:23
 **/
@RestController
public class DistrictController {


    @Autowired
    private DicDistrictService dicDistrictService;

    @GetMapping("/initDistrict")
    public ResponseResult initDistrict(){

        return dicDistrictService.initDicDistrict("中国");
    }
}
